package com.tf.xx.listener;

import jakarta.servlet.http.HttpSessionEvent;
import jakarta.servlet.http.HttpSessionListener;
import org.slf4j.LoggerFactory;
import org.slf4j.Logger;



public class MySessionListener implements HttpSessionListener {


    @Override
    public void sessionCreated(HttpSessionEvent se) {
        logger.info("sessionCreated");
    }

    @Override
    public void sessionDestroyed(HttpSessionEvent se) {
        logger.info("sessionDestroyed");
    }

    private static final Logger logger =
            LoggerFactory.getLogger(MyContextListener.class);

}
